package org.kite.processor;

import org.kite.MatchResult;
import java.util.List;

public class DefaultProcessor extends ProcessorBase {

	public MatchResult match(String line) {
		return MatchResult.Match;
	}

	public String process(List<String> lines) throws Exception {
		if(lines.size() >1){
			throw new Exception("the default processos can only receive one line per time");
		}
		return lines.get(0);
	}
}
